export const concatPic = (url) => `https://y.gtimg.cn/music/photo_new/T001R300x300M000${url}.jpg?max_age=2592000`;

export let createdSong = (songObj, singer_id, singer_mid, singer_name) => {
    return {
        id: songObj.songid,
        mid: songObj.songmid,
        singer: singer_name,
        name: songObj.songname,
        album: songObj.albumname,
        duration: songObj.interval,
        image: `https://y.gtimg.cn/music/photo_new/T002R300x300M000${songObj.albummid}.jpg?max_age=2592000`
    }
}